﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Rss.aspx.cs" Inherits="XLDL.WRss.Rss"  EnableViewStateMac="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>RSS</title>
    
 <script type="text/javascript" src="API.js"></script>   
  <link rel="stylesheet" type="text/css" href="rss.css" />
<script type="text/javascript" src="gfeedfetcher.js"></script>
<script type="text/javascript" src="gajaxscroller.js"></script>
<script type="text/javascript" language="javascript" src="http://vnexpress.net/Service/Gold_Content.js"></script>
<script type="text/javascript" language="JavaScript" src="http://vnexpress.net/Service/Forex_Content.js"></script>
    
    </head>
<body style="margin:0px 0px 0px 0px">
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="355px">

<tr align="left" valign="middle">
<td class="lk" style="width:355px">
    <asp:Image ID="Image1" runat="server" ImageUrl="~/WRss/hotnews.gif" 
        Width="75px" />
    <asp:LinkButton ID="link_thoitrang" runat="server" 
        onclick="link_thoitrang_Click" CssClass="lk">Thời trang |</asp:LinkButton>
       
 
    <asp:LinkButton ID="link_thegioi" runat="server" onclick="link_thegioi_Click" CssClass="lk"> Thế 
    giới |</asp:LinkButton>
  

    <asp:LinkButton ID="link_thethao" runat="server" onclick="link_thethao_Click" CssClass="lk"> Thể thao |</asp:LinkButton>
    
     <asp:LinkButton ID="link_khuyenmai" runat="server" 
        onclick="link_khuyenmai_Click" CssClass="lk"> Tỷ giá</asp:LinkButton>
    
    </td>
</tr>
<tr valign="top">
<td colspan="3">
<asp:MultiView ID="MultiView1" runat="server">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td>
<asp:View ID="View1" runat="server">
<script type="text/javascript">

var newsfeed=new gfeedpausescroller("a0", "a0class", 2500, "_new")
newsfeed.addFeed("Ohthoitrang", "http://dantri.com.vn/thoitrang.rss") //Specify "label" plus URL to RSS feed
newsfeed.displayoptions("description date snippet") //show the specified additional fields
newsfeed.setentrycontainer("p") //Display each entry as a paragraph
newsfeed.filterfeed(20, "date") //Show 8 entries, sort by date
newsfeed.entries_per_page(1)
newsfeed.init() //Always call this last

</script></asp:View>
</td>
<td>
<asp:View ID="View2" runat="server">
<script type="text/javascript">

var newsfeed1=new gfeedpausescroller("a1", "a1class", 2500, "_new")
newsfeed1.addFeed("VNEXPRESS", "http://vnexpress.net/rss/gl/the-gioi.rss") //Specify "label" plus URL to RSS feed
newsfeed1.displayoptions("description date snippet") //show the specified additional fields
newsfeed1.setentrycontainer("p") //Display each entry as a paragraph
newsfeed1.filterfeed(20, "date") //Show 8 entries, sort by date
newsfeed1.entries_per_page(1)
newsfeed1.init() 

</script></asp:View>
</td>
<td>
<asp:View ID="View3" runat="server">
<script type="text/javascript">

var newsfeed2=new gfeedpausescroller("a2", "a2class", 2500, "_new")
newsfeed2.addFeed("DanTri", "http://dantri.com.vn/The-Thao.rss") //Specify "label" plus URL to RSS feed
newsfeed2.displayoptions("description date snippet") //show the specified additional fields
newsfeed2.setentrycontainer("p") //Display each entry as a paragraph
newsfeed2.filterfeed(20, "date") //Show 8 entries, sort by date
newsfeed2.entries_per_page(1)
newsfeed2.init() 
</script>
</asp:View>
</td>
<td align="left" style="width:350px">
<asp:View ID="View4" runat="server">
    <table cellspacing="0" border="0px" width="350px" class="giavang">
        <tr>
            <td align="center" width="35px" colspan="4">
                <asp:Label ID="lbl_giavang" runat="server" Font-Bold="True"></asp:Label>
            </td>
        </tr>
        <tr>
            <td width="35">
                &nbsp;</td>
            <td align="left">
                Loại</td>
            <td align="left">
                Mua vào</td>
            <td align="left">
                Bán ra</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="left" width="80">
                SBJ</td>
            <td align="left" width="80">
               <script language="JavaScript" type="text/javascript">document.write(vGoldSbjBuy);</script>
             </td>
            <td align="left" width="80">

                <script language="JavaScript" type="text/javascript">

document.write(vGoldSbjSell);</script>

            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="left">

                SJC</td>
            <td align="left">

                <script language="JavaScript" type="text/javascript">document.write(vGoldSjcBuy);</script>

            </td>
            <td align="left">

                <script language="JavaScript" type="text/javascript">

document.write(vGoldSjcSell);</script>

            </td>
        </tr>
       
      
       
    </table>
    <div class="scroll_box">
    
        <table cellpadding="0" cellspacing="0">
            <tr>
                <td width="40px">
                    &nbsp;</td>
                <td align="left">
                 <script language="JavaScript" type="text/javascript">;
document.write("<table border='0px'><tr><td align='Left' width='30px'>&nbsp;"+ vForexs[0] +"</td><td align=right>"+ vCosts[0]+" </td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[1] +"</td><td align=right>"+ vCosts[1] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[2] +"</td><td align=left>"+ vCosts[2] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[3] +"</td><td align=right>"+ vCosts[3] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[4] +"</td><td align=right>"+ vCosts[4] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[5] +"</td><td align=right>"+ vCosts[5] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[6] +"</td><td align=right>"+ vCosts[6] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[7] +"</td><td align=right>"+ vCosts[7] +"</td></tr>");
document.write("<tr><td align='Left'>&nbsp;"+ vForexs[8] +"</td><td align=right>"+ vCosts[8] +"</td><td width='220px' align=right>&nbsp;&nbsp;&nbsp;<img src='exim.gif' align='top'/></td></tr></table>");
</script>
                   </td>
                
            </tr>
            
        </table>
</div>
</asp:View>
</td>
</tr>
</table>
</asp:MultiView></td>
</tr>
</table>
    </form>
</body>
</html>
